/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Helper;

import entity.FoodItem;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Lu Xiaodi
 */
public class Helper_Outlet implements Serializable {

    private Long id;
    private String outletName;
    private String address;
    private String stakeholderName;
    private String phoneNumber;
    private List<String> cuisineNames = new ArrayList<String>();
    private List<FoodItem> foodMenu = new ArrayList<FoodItem>();

    public Helper_Outlet() {
    }

    public Helper_Outlet(Long id, String outletName, String address, String stakeholderName,
            String phoneNumber) {
        this.id = id;
        this.outletName = outletName;
        this.address = address;
        this.stakeholderName = stakeholderName;
        this.phoneNumber = phoneNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<String> getCuisineNames() {
        return cuisineNames;
    }

    public void setCuisineNames(List<String> cuisineNames) {
        this.cuisineNames = cuisineNames;
    }
    
    public void addCuisine(String s){
        this.cuisineNames.add(s);
    }

    public List<FoodItem> getFoodMenu() {
        return foodMenu;
    }

    public void setFoodMenu(List<FoodItem> foodMenu) {
        this.foodMenu = foodMenu;
    }
    
    public void addFoodItem(FoodItem foodItem){
        this.foodMenu.add(foodItem);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOutletName() {
        return outletName;
    }

    public void setOutletName(String outletName) {
        this.outletName = outletName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getStakeholderName() {
        return stakeholderName;
    }

    public void setStakeholderName(String stakeholderName) {
        this.stakeholderName = stakeholderName;
    }

    @Override
    public String toString() {
        return this.stakeholderName+ ", "+ this.outletName;
    }
    
    
}